The Encrypt Function used in conjunction with the Decrypt Function brings powerful encryption to your applications. You may use these functions aside from registry functions. Use them to encrypt and decrypt sensitive database entries. Use them for all of your string type registry entries.
NOTE: Encryption is a Boolean Property. It is defaulted to True or On. So any string type used in SaveSetting, GetSetting will automatically be save/retrieved using a default password constant. To use the functions directly both parameters must be supplied.
Syntax:
Public Function Encrypt(ByVal Strg As String, ByVal Password As String) As String
Use:
Dim X As String
Dim Reg As New RegEasy
X=Reg.Encrypt(varS, "Any old password")
(c)1998 Silicon Prairie Software Co. All rights reserved.